package com.zzyl.nursing.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.zzyl.nursing.mapper.OrderNursingMapper;
import com.zzyl.nursing.service.OrderNursingService;
import com.zzyl.serve.domain.NursingProject;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class OrderNursingServiceImpl extends ServiceImpl<OrderNursingMapper, NursingProject> implements OrderNursingService {
    @Autowired
    private OrderNursingMapper orderNursingMapper;
    @Override
    public List<NursingProject> pageList(NursingProject nursingProject) {
        return orderNursingMapper.pageList(nursingProject);
    }

    @Override
    public NursingProject getProjectById(Long id) {
        return orderNursingMapper.getProjectById(id);
    }
}
